package com.hshx.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hshx.pojo.Train;

public interface TrainDao extends BaseMapper<Train> {
    //添加培训记录
    int addTrain(Train train);
    //修改培训记录
    int updateTrain(Train train);
    int updateTrainState(Integer train_id,Integer train_state);

    //根据id查询标准
    Train queryTrainID(Integer train_id);
}
